package com.anycl.design.behavioral.state.instance;

public class Main {

    public static void main(String[] args) {
        RemoteControlMachine control = new RemoteControlMachine(new PowerOffState());
        control.play();

        control.powerOn();
        control.play();
        control.standBy();
        control.powerOff();
    }
}
